package com.kb.erp.entity.crm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@TableName("CRM_CollateStatementItem")
@Accessors(chain = true)
public class CrmCollateStatementItem {

    @TableId(value = "recId", type = IdType.AUTO)
    private Integer recId;

    @TableField(value = "addCharge")
    private BigDecimal addCharge;

    @TableField(value = "addFeeing")
    private BigDecimal addFeeing;

    @TableField(value = "amountInvoiceTobeConfirmed")
    private BigDecimal amountInvoiceTobeConfirmed;

    @TableField(value = "amountPaid")
    private BigDecimal amountPaid;

    @TableField(value = "chargeConfirmed")
    private Boolean chargeConfirmed;

    @TableField(value = "invoiceChargeConfirmed")
    private Boolean invoiceChargeConfirmed;

    @TableField(value = "note")
    private String note;

    @TableField(value = "qtyConfirmed")
    private Integer qtyConfirmed;

    @TableField(value = "qtyInvoiceTobeConfirmed")
    private Integer qtyInvoiceTobeConfirmed;

    @TableField(value = "d478Rkey")
    private Integer d478Rkey;

    @TableField(value = "d60Rkey")
    private Integer d60Rkey;

    @TableField(value = "subAmonting")
    private BigDecimal subAmonting;

    @TableField(value = "subAmount")
    private BigDecimal subAmount;

    @TableField(value = "taxRate")
    private BigDecimal taxRate;

    @TableField(value = "totalAmount")
    private BigDecimal totalAmount;

    @TableField(value = "unitPrice")
    private BigDecimal unitPrice;

    @TableField(value = "collateStatementId")
    private Integer collateStatementId;

    @TableField(value = "shipmentId")
    private Integer shipmentId;

    @TableField(value = "custCollateStatementItemId")
    private Integer custCollateStatementItemId;

    @TableField(value = "invoiceItemId")
    private Integer invoiceItemId;

    @TableField(value = "invoiceId")
    private Integer invoiceId;

    @TableField(value = "invoiceNumber")
    private String invoiceNumber;

    @TableField(value = "freightCost")
    private BigDecimal freightCost;
}
